@echo off
start C:\Progra~1\PostgreSQL\9.2\bin\pg_dump -U postgres -p 2012 -C -f c:\backup_%date:~-10,4%%date:~-6,2%%date:~-4,4%_%time:~0,2%%time:~3,2%%time:~6,2%.txt dbcb

exit